package com.bdyc.dao;

import com.bdyc.po.CompanyInfoDto;
import com.bdyc.po.CompanyInfoDtoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CompanyInfoDtoMapper {
    int countByExample(CompanyInfoDtoExample example);

    int deleteByExample(CompanyInfoDtoExample example);

    int deleteByPrimaryKey(Integer companyId);

    int insert(CompanyInfoDto record);

    int insertSelective(CompanyInfoDto record);

    List<CompanyInfoDto> selectByExample(CompanyInfoDtoExample example);

    CompanyInfoDto selectByPrimaryKey(Integer companyId);

    int updateByExampleSelective(@Param("record") CompanyInfoDto record, @Param("example") CompanyInfoDtoExample example);

    int updateByExample(@Param("record") CompanyInfoDto record, @Param("example") CompanyInfoDtoExample example);

    int updateByPrimaryKeySelective(CompanyInfoDto record);

    int updateByPrimaryKey(CompanyInfoDto record);
    CompanyInfoDto findCompanyInfoByUserId(@Param("userId") int userId);
  	int updateCompanyInfo(@Param("record") CompanyInfoDto record);
}